<?= $this->render('header.phtml') ?>
        <div class="container">
			<header id="overview" class="jumbotron subhead">
				<?= $this->render('top_msg.phtml') ?>
				<div class="row-fluid">
					<div class="pull-left"><h1><?= $this->nowtitle?></h1></div>
					
					
					<div class="pull-right top-sale"><a class="btn btn-success" href="<?= $this->url(array('controller'=>'sale'),null,true);?>" target="_blank" data-original-title="免费帮您卖车"><i class="icon-circle-arrow-up icon-white"></i> 免费发布卖车信息 &raquo;</a></div>
					
				</div>
			</header>
			
			<hr />
			
			<div class="row-fluid set">
    			<div class="tabbable tabs-left">
    
    			    <ul class="nav nav-tabs set-left">
    			        <li class="set-t">&nbsp;</li>
    				    <li class="<?php if ($this->getaction == 'index'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set'),null,true)?>">全局</a></li>
    				    <li class="<?php if ($this->getaction == 'sale'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set','action'=>'sale'),null,true)?>">我的发布</a></li>
    				    <li class="<?php if ($this->getaction == 'favorites'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set', 'action'=>'favorites'),null,true)?>">我的收藏</a></li>
    				    <li class="<?php if ($this->getaction == 'profit'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set', 'action'=>'profit'),null,true)?>">推广中心</a></li>
    				    <li class="<?php if ($this->getaction == 'msg'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set', 'action'=>'msg'),null,true)?>">消息中心</a></li>
    				    <li class="<?php if ($this->getaction == 'profile'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set', 'action'=>'profile'),null,true)?>">账号管理</a></li>
    				    <!--li class="<?php if ($this->getaction == 'space'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set', 'action'=>'space'),null,true)?>">个人空间</a></li-->
    				    <!--li><a href="">认证中心</a></li-->
    				    <?php if ($this->member[groupid] == 1):?>
    				    <li class="<?php if ($this->getaction == 'user'): ?>active<?php endif;?>"><a href="<?= $this->url(array('controller'=>'set', 'action'=>'user'),null,true)?>">用户管理</a></li>
    				    <?php endif;?>
    				    <li><a href="javascript:;" data="/dialog/loginout/?ref=<?= $this->ref?>" id="showWindow">安全退出</a></li>
    				    <li class="set-t">&nbsp;</li>
    			    </ul>
    			    <div class="tab-content">
    			    
    			        <?= $this->render('set_nav.phtml') ?>
    			        <?= $this->layout()->content ?>
                                </div>
                            </div>
                        </div>
                        
                        
    			    </div>
    		    </div>
                
			</div>
			<input type="hidden" value="<?= $this->ref?>" name="ref" />
			<input type="hidden" value="" id="ajax" />
			<iframe id="actionfrm" src=""  width="0" height="0" name="actionfrm"  frameborder="0"></iframe>
<?= $this->render('footer.phtml') ?>